package com.cxmx.escort.baseEnum;

/**
 * @ClassName:OrderDetailStatus
 * @Description //TODO
 * @Author chenyunxuan
 * @Date $date$ $time$
 **/
public enum OrderDetailStatus {
    //状态 0待配货 1需订购 2已配货 3未配货 4已打包 5.已发货 6已完成 7.等待工厂确认 8 待生产 9.生产中
    WAIT_DISTRIBUTION(0, "待配货"),
    NEED_ORDER(1, "需订购"),
    DISTRIBUTION(2,"已配货"),
    NEED_DISTRIBUTION(3,"未配货"),
    PACKAGING(4,"已打包"),
    DELIVER_GOODS(5,"已发货"),
    COMPLETED(6,"已完成"),
    WAIT_CONFIRM(7,"等待工厂确认"),
    WAIT_PRODUCTION(8,"待生产"),
    PRODUCTION_ING(9,"生产中"),
    WAIT_CUSIT_SURE(10,"等待客户确认");

    private int code;
    private String value;

    OrderDetailStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }}
